<%= error_messages_for 'department' %>

<p><label for="name">名称:</label><br/>
<%= text_field 'department', 'name'  %></p>